/**
 * 
 */
package com.kathez.exceptions;

import java.util.logging.Level;
import java.util.logging.Logger;

import com.kathez.logging.KathezLogger;

/**
 * @author Balaji T
 *
 */
public class KathezApplicationException extends KathezRuntimeException {
	
	private final Logger LOGGER = KathezLogger.getLogger(this.getClass());

	/**
	 * 
	 */
	private static final long serialVersionUID = 8380397459381670710L;

	/**
	 * 
	 */
	public KathezApplicationException() {
		LOGGER.log(Level.INFO, this.getMessage(), this);
	}

	/**
	 * @param arg0
	 * @param arg1
	 */
	public KathezApplicationException(String arg0, Throwable arg1) {
		LOGGER.log(Level.INFO, arg0, arg1);
	}

	/**
	 * @param arg0
	 */
	public KathezApplicationException(String arg0) {
		LOGGER.log(Level.INFO, arg0, this);
	}

	/**
	 * @param arg0
	 */
	public KathezApplicationException(Throwable arg0) {
		LOGGER.log(Level.INFO, this.getMessage(), arg0);		
	}

}
